package 设计原则.开闭原则;

public class Test {
    public static void main(String[] args) {
        Student student = new Student();
//        student.eat();
//        student.sleep();
        HighSchoolStudent hStudent = new HighSchoolStudent();
        hStudent.study();
        hStudent.eat();
        hStudent.sleep();
    }
}
